<template>
	<view >
		<view class="head">
			<text class="hint1">进行中	</text><text class="Ftime">29分59秒后自动付款</text>
		</view>
		<view class="session1" v-for="item in contentList" :key="item.id">
		<view class="contentList">
			<view class="ordercode">
				<text class="code">订单号：{{item.code}}</text>
			</view>
			
			<view class="content1">
				<view class="pic">
					<image src="/static/order/充电宝%20(4).png" mode="" style="width: 160rpx;height: 160rpx;border-radius: 10rpx;"></image>
				</view>
				<view class="detail">
					<view class="introduce">
						<text>充电地点：</text><text>{{item.place}}</text>
					</view>
					<view class="introduce">
						<text>充电时长：</text><text>{{item.time}}</text>
					</view>
					<view class="introduce">
						<text class="power">已充电量：</text><text class="num">{{item.powernum}}度</text>
					</view>
				</view>
			</view>
				<view class="acount">
					<text class="sum">费用合计：</text><text class="price">￥240.00</text>
				</view>
		</view>
		<view class="session2">
			<view class="orderMessage">
				<text  >订单信息</text>
			</view>
			<view class="orderCode">
				<text>订单编号：</text><text style="margin-left: 30px;">{{item.ordercode}}</text>
			</view> 
			<view class="createTime">
				<text>创建时间：</text><text style="margin-left: 30px;">{{item.createtime}}</text>
			</view>
			
		</view>
	</view>
	<view  class="button1">
		<navigator url="payment/payment"><text style="line-height: 80rpx;">立即付款</text></navigator>
	</view>
		
	</view>
</template>

<script>
	export default {
		name:"orderrun",
		data() {
			return {
				contentList:[
					{id:1, code:"123199000401",place:"重庆市巴南区贸易大楼",time:"已使用1小时30分钟",
					 powernum:"31.0",price:"240.00",ordercode:"20223245342349344" ,createtime:"2022-3-08  19:27:00"
					},]
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.head{
	width: 750rpx;
	height: 100rpx;
	line-height: 40rpx;
	text-align: center;
	display: flex;
	flex-direction: row;
	border-top: 4rpx solid #F0F1F7;
	border-top: 20rpx solid rgba(241, 242, 248, 100) ;
	margin-top: 20rpx;
}
.hint1{
	width: 180rpx;
	text-align: center;
	line-height: 100rpx;
	font-weight: 600;
}
.Ftime{
	color: rgba(68, 68, 68, 100);
	font-size: 24rpx;
	font-family: PingFangSC-regular;
	line-height: 100rpx;
	font-weight: 600;
	margin-right: 40rpx;
	margin-left: 300rpx;
}


.contentList{
	width: 750rpx;
	height: 360rpx;
	line-height: 40rpx;
	text-align: center;
	border-top: 40rpx solid rgba(241, 242, 248, 100) ;
	font-family: PingFangSC-regular;
	
}
.ordercode{
	width: 750rpx;
	height: 70rpx;
	display: flex;
	justify-content: space-between;

}
.code{
	color: rgba(16, 16, 16, 100);
	font-size: 24rpx;
	text-align: left;
	font-family: PingFangSC-regular;
	margin-left: 20rpx;
	line-height: 80rpx;
}
.content1{
	width: 710rpx;
	height: 200rpx;
	display: flex;
	flex-direction: row;
	
	margin-left: 20rpx;
	border-top:2rpx solid rgba(230, 230, 230, 100);
}
.pic{

	width: 160rpx;
	height: 160rpx;
	border-radius: 10rpx;

	margin: 20rpx 20rpx 20rpx 0rpx;
}
.detail{
	width: 530rpx;
	height: 160rpx;
	margin-top: 20rpx;	

}
.introduce{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top: 10rpx;
	width: 530rpx;
	height: 36rpx;
	color: rgba(28, 28, 30, 100);
	font-size: 29rpx;
	font-family: PingFangSC-regular;
}
.acount{
	width: 290rpx;
	height: 60rpx;
	margin-left: 460rpx;
	display: flex;
	flex-direction: row;
	margin-top: 20rpx;
	
}
.sum{
	color: rgba(28, 28, 30, 100);
	font-size: 26rpx;
	text-align: left;
	font-family: PingFangSC-regular;
}
.price{
	color: rgba(255, 109, 88, 100);
	font-size: 32rpx;
	text-align: right;
	
	font-family: PingFangSC-regular;
}

.session2{
	width: 750rpx;
	height: 240rpx;
	border-top: 40rpx solid rgba(241, 242, 248, 100) ;
	
}
.orderMessage{
	width: 7300rpx;
	height: 80rpx;
	color: rgba(16, 16, 16, 100);
	font-size: 30rpx;
	text-align: left;
	font-family: PingFangSC-regular;
	
}
.orderMessage>text{
    margin-left: 20rpx;
	line-height: 80rpx;
}
.orderCode{
	width: 700rpx;
	height: 60rpx;
	color: rgba(16, 16, 16, 100);
	font-size: 26rpx;
	text-align: left;
	font-family: PingFangSC-regular;
	display: flex;
	flex-direction: row;
	font-weight: 400;
	
}
.orderCode>text{
	margin-left: 20rpx;
	line-height: 80rpx;
}
.createTime{
	width: 700rpx;
	height: 60rpx;
	color: rgba(16, 16, 16, 100);
	font-size: 26rpx;
	text-align: left;
	font-family: PingFangSC-regular;
	display: flex;
	flex-direction: row;
	font-weight: 400;
	
}
.createTime>text{
	margin-left: 20rpx;
	line-height: 80rpx;
}

.button1{
width: 680rpx;
height: 80rpx;
border-radius: 20rpx;
background-color:   rgba(34, 149, 255, 100);
color: rgba(241, 241, 241, 100);
font-size: 32rpx;
text-align: center;
box-shadow: 0px 0px 12rpx 0px rgba(0, 0, 0, 0.03);
font-family: Arial;
position: fixed;
bottom: 20rpx;
left: 30rpx;
}
</style>
